package com.gzj.environment.model.collectData.base;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class BaseCollectData {
    private String group; // 点位组
    private String number; // 点位编号
    private String station; // 站点
    private Date collectTime; // 采集时间

    /**
     * 初始化采集数据
     * @param group 点位组
     */
    public BaseCollectData(String group, String number) {
        this.group = group;
        this.number = number;
        this.collectTime = new Date();
        // TODO 站点先为空，以后有需要再填充
    }
}
